//
//  jingtai.h
//  Unity-iPhone
//
//  Created by 刘艺 on 13-9-3.
//
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import <UIKit/UIKit.h>
#import "KindsView.h"
#import "ShopViewController.h"
#import "ContentViewController.h"

@interface jingtai : UIResponder <UIApplicationDelegate,UIAccelerometerDelegate>
{
}
@property(nonatomic,retain)KindsView * kindview;
@property(nonatomic,retain)NSString * dataforweb;
@property(nonatomic,retain)NSString * shebeima;
@property(nonatomic,retain)UIViewController * thelastviewC;
@property(nonatomic,retain)NSString * kindversion;
@property(nonatomic,retain)NSString *shopversion;
@property(nonatomic,retain)NSString *contentversion;
@property(nonatomic,retain)NSString * mainIP;
@property(nonatomic,retain)ShopViewController *shopview;
@property(nonatomic,retain)ContentViewController  *contentview;
@property(nonatomic,retain)NSMutableArray * Downloadqueue;
@property(nonatomic,retain)NSMutableArray * URLappList;
@property(nonatomic,retain)NSString * unityversion;
+ (jingtai *)sharedSingleton;
+(id)getviewcontrollerfromstoryboard:(NSString *)nameid;
+(UIImage *) getImageFromURL:(NSString *)fileURL  andislocal:(BOOL) islocal andismustdonwload:(BOOL)isMustdownload;
+(void)setlocalkindVersion : (NSString * )version;
+(void)setlocalshopVersion : (NSString * )version;
+(void)setlocalcontentVersion : (NSString * )version;
+(NSString *) getlocalkindversion;
+(NSString *) getlocalshopversion;
+(NSString *) getlocalcontentversion;
@end